package com.ioudi.digu.dao;

import java.util.List;
import java.util.Map;

import com.ioudi.digu.service.support.ListResult;

public interface IGeneralDAO
{
    Object saveObject(Object value);
    
    Object updateObject(String id, Map condition);
    
    boolean deleteObjects(String[] ids);
    
    Object getObject(String id);
    
    List findObjects(int index, int maxCount, Map condition);
    
    ListResult findObjectsWithTotal(int index, int maxCount, Map condition);
    
    List findFields(String fieldName, Map condition);
}
